<?php
/**
 * $Id: registration.php 15 2011-05-31 20:36:27Z bordjukov@gmail.com $
 */
?>
<generic>
	<template>
		<ResizableWindow id="regform" title="Registration form"  modal="true" width="400" height="485" verticalGap="3" horizontalAlign="right"  borderStyle="solid" borderThickness="1" cornerRadius="12" paddingLeft="0">
			<VBox horizontalAlign="center"  verticalAlign="middle" width="100%" height="100%"> 
				<Image source="images/id_card.png"/>
				<Form id="regdata">
					<FormHeading label="Registration" horizontalAlign="center"  verticalAlign="center" />
					<FormItem label="User Name *">
						<TextInput id="uname" width="200"/>
					</FormItem>
					<FormItem label="Password *">
						<TextInput id="pass" width="200"/>
					</FormItem>
					<FormItem label="Repeat Password *">
						<TextInput id="reppass" width="200"/>
					</FormItem>
					<FormItem label="First name">
						<TextInput id="fname" width="200"/>
					</FormItem>
					<FormItem label="Family name">
						<TextInput id="famname" width="200"/>
					</FormItem>
					<FormItem label="Date of Birth">
						<TextInput id="dob" width="200"/>
					</FormItem>
					<FormItem label="E-mail address">
						<TextInput id="email" width="200"/>
					</FormItem>
					<FormItem label="GSM Number">
						<TextInput id="gsm" width="200"/>
					</FormItem>
					<FormItem>
						<HBox>                
							<Button label="Submit" color="#2b333c" width="80" borderColor="#8cbf40" themeColor="#8cbf40" id="submit" />
							<Button label="Cancel" color="#2b333c" width="80" borderColor="#8cbf40" themeColor="#8cbf40" id="cancel" click="dispatchEvent(regdata, 'hide_registration')"/>
						</HBox>
					</FormItem>    
				</Form>
			</VBox>
		</ResizableWindow>
	</template>	
</generic>